package org.thanos.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
public class SysUserRole {

    private static final List<SysUserRole> LISTS = new ArrayList<>();

    static {
        LISTS.add(new SysUserRole(1, 1));
    }

    private Integer userId;
    private Integer roleId;

    public static List<SysUserRole> data(){
        return LISTS;
    }
}
